#ifndef _MAT_SFX_COLLECTION_H_
#define _MAT_SFX_COLLECTION_H_

#include "mat_sfx.h"







class MATSFXCollection
{
public:

	

	MATSFXCollection(MATSfx::SFX_TYPES Type );


	void					Render(const math::Vec2& Offset,float Scale);
	void					PostRender(const math::Vec2& Offset,float Scale);
	void					RenderDebug(const math::Vec2& Offset,float Scale);
	void					Tick(float dt);

	void					ForceFinish();

	void					Clear();
	MATSfx*					Spawn(	const math::Vec2& Pos, 									
									float SizeScale,
									float Roation,
									MATSounds::SOUND_NAMES SFXName
									);
	const MATSfx::SFX_TYPES		GetType()const { return m_Type; };
	
	

protected:


	MATSfx::SFX_TYPES						m_Type;
	std::vector<MATSfx*>					m_SFXs;

};

#endif